package com.bean;

public class passPort {
	private int sid;
	private String kind;
	private String pid;
	private String startdate;
	private String enddate;
	private String returndate;
	private String preid;
	
	@Override
	public String toString() {
		String s = pid+"\u0005"+sid+"\u0005"+kind+"\u0005"+startdate+"\u0005"+enddate+"\u0005"+returndate+"\u0001";
		s = s.replaceAll("null", "");
		return s;
	}
	
	public void setKind(String xxx) {
		kind = xxx;
	}
	public void setPid(String xxx) {
		pid = xxx;
	}
	public void setStartdate(String xxx) {
		startdate = xxx;
	}
	public void setEnddate(String xxx) {
		enddate = xxx;
	}
	public void setSid(int id) {
		sid = id;
	}
	public void setReturndate(String returndate) {
		this.returndate = returndate;
	}
	public void setPreid(String id) {
		preid = id;
	}
	public String getPreid() {
		return preid;
	}
	
	public String getKind() {
		return kind;
	}
	public String getPid() {
		return pid;
	}
	public String getStartdate() {
		return startdate;
	}
	public String getEnddate() {
		return enddate;
	}
	public int getSid() {
		return sid;
	}
	public String getReturndate() {
		return returndate;
	}
	

}
